<div class="confirm_model" style="display:none" title="<?php echo $title?>">
	<div class="alert_info_content"><?php echo $message?></div>
	<div class="alert_box_btn">
		<div class="left"><a id="ok" href="javascript:void(0);">确定</a></div>
		<div class="right"><a id="cancel" href="javascript:void(0);">取消</a></div>
		<div class="clear"></div>
	</div>
</div>
<script>
$(function() {
	$( ".confirm_model" ).dialog({
		autoOpen: false,
		height: 150,
		width: 300,
		modal:true,
		resizable: false
	});
	$("#cancel").click(function() {
		$(".confirm_model").dialog( "close" );
	});
});
function doaction(obj) {
	$(".confirm_model").dialog( "open" );
	$("#ok").click(function() {
		daction(obj);
		$(".confirm_model").dialog( "close" );
		return false;
	});
	return false;
}
function daction(obj)
{
	location.href=obj.href;
}
$(".screen_condition a").click(function() {
	var num=$(this).parent().next().html();
	var nums=parseInt(num);
	if(nums==0){
		showmessage("暂无数据");
		return false;
	}
});
</script>